function Z = readCurrentSequence(filename)

Z = [];
fid = fopen(filename);
line = fgetl(fid);

while ischar(line)
	if numel(line)==0
		line=fgetl(fid);
		continue;
    end

    Z = [Z; sscanf(line(1:end), '%f %f %f %d', [1 4])];
	line=fgetl(fid);	
end

fclose(fid);

end